import { Modal } from "antd"
import TextArea from "antd/es/input/TextArea";

interface Props {
    open: boolean;
    onClose: () => void
}
const AntModal: React.FC<Props> = ({ open, onClose }) => {

    return (
        <>
            <Modal title="意见留言/bug反馈" open={open} onCancel={onClose} okText="发送" cancelText="取消">
                <TextArea autoSize={{ minRows: 8 }}></TextArea>
            </Modal>
        </>
    )
}
export default AntModal